package com.atguigu.spzx.product.service;

import com.atguigu.spzx.model.dto.h5.ProductSkuDto;
import com.atguigu.spzx.model.entity.order.OrderItem;
import com.atguigu.spzx.model.entity.product.ProductSku;
import com.atguigu.spzx.model.vo.h5.IndexVo;
import com.atguigu.spzx.model.vo.h5.ProductSkuVo;
import com.github.pagehelper.PageInfo;

public interface ProductService {
    IndexVo findIndexVo();

    PageInfo<ProductSku> findPage(Integer pageNum, Integer pageSize, ProductSkuDto productSkuDto);

    ProductSkuVo findItemBySkuId(Long skuId);

    ProductSku findSkuById(Long skuId);

    void updateSkuSalesAndStockByOrderNo(String orderNo);

}
